<div class="layuimini-container">
    <form id="app-form" class="layui-form layuimini-form">
        
        <div class="layui-form-item">
            <label class="layui-form-label">优惠卷名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" class="layui-input"  placeholder="请输入优惠卷名称" value="{$row.name|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">使用分类</label>
            <div class="layui-input-block">
                {foreach $getUseTypeList as $k=>$v}
                <input type="radio" name="use_type" value="{$k}" title="{$v}" {in name="k" value="$row.use_type"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">优惠门槛</label>
            <div class="layui-input-block">
                {foreach $getUsetThresholdList as $k=>$v}
                <input type="radio" name="uset_threshold" value="{$k}" title="{$v}" {in name="k" value="$row.uset_threshold"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">折扣力度</label>
            <div class="layui-input-block">
                <input type="text" name="discount" class="layui-input"  placeholder="请输入折扣力度" value="{$row.discount|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">满减达到限制</label>
            <div class="layui-input-block">
                <input type="text" name="acme" class="layui-input"  placeholder="请输入满减达到限制" value="{$row.acme|default=''}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                {foreach $getStateList as $k=>$v}
                <input type="radio" name="state" value="{$k}" title="{$v}" {in name="k" value="$row.state"}checked=""{/in}>
                {/foreach}
            </div>
        </div>

        <div class="hr-line"></div>
        <div class="layui-form-item text-center">
            <button type="submit" class="layui-btn layui-btn-normal layui-btn-sm" lay-submit>确认</button>
            <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">重置</button>
        </div>

    </form>
</div>